﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.Xml.Schema;
using System.Xml;

namespace Wix.Aura.Common {
	public abstract class Search : IXmlSerializable {
		protected Search() : base() { 
		}

		protected Search(string id) {
			Id = id;
		}

		public FileSystemSearch Child { get; set; }

		public string Id { get; set; }

		public abstract XmlSchema GetSchema();

		public abstract void ReadXml(XmlReader reader);

		public abstract void WriteXml(XmlWriter writer);
	}
}
